from pulic.connt import setup
from pulic.connt import youji
import pytest

if __name__ == '__main__':
    #发送日志
    setup()

    #报告
    pytest.main(['./case','-s','--html=./data/baogao.html'])

    #发送邮件
    youji(['./log/kongfz.txt','./data/baogao.html'])
